import game from './game';
import register from '../../game/module/register';
import myCenter from '../../game/module/myCenter';
import enter from './enter';

console.log([
  ...game,
  ...register,
  ...myCenter,
  ...enter
]);
export default [
  {
    path: '/',
    component: () => import(/* webpackChunkName: "common" */ '@/views/home/index'),
    children: [
      ...game,
      ...register,
      ...myCenter,
      ...enter,
      {
        path: '/404',
        component: () => import(/* webpackChunkName: "common" */ '@/views/common/404')
      },
      {
        path: '*',
        component: () => import(/* webpackChunkName: "common" */ '@/views/common/404')
      }
    ]
  }
];
